package com.huangliusong.product.utils;

import com.huangliusong.product.VO.ResultVO;

/**
 * @author huangliusong
 * @since 2018/10/20
 * {@link }
 */

public class ResultVOUtil {

    public static ResultVO success(Object object){

        ResultVO resultVO=new ResultVO();
        resultVO.setData(object);
        resultVO.setCode(0);
        resultVO.setMessage("success");
        return resultVO;
    }
}
